package com.mdd.admin.tools;

import java.util.*;

/**
 * 常量(车牌)
 */
public final class VehicleConstants {

    public static final String[] STR_AZ_NICE = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", /*"I",*/ "J", "K", "L", "M", "N", /*"O",*/ "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"};
    public static final String[] STR_AZ = {"A", "B", "C", "D", "E", "F", "G", "H", /*"I", */"J", "K", "L", "M", "N", /*"O",*/ "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"};
    public static final String[] STR_ZERO_NICE = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"};
    public static final String STR_I = "I", STR_O = "O", STR_SYS = "*";
    /**
     * 判断字母是否包含I或者O
     */
    public static final List<String> LIST_IO = Arrays.asList(new String[]{"I", "O"});
    /**
     * 河南地区对应字母
     */
    public static final Map<String, String> YU_AREA_MAP = new HashMap();
    /**
     * 苏州地区对应字母
     */
    public static final Map<String, String> SU_AREA_MAP = new HashMap();
    /**
     * 炸弹车牌
     */
    public static final Map<String, String> VEHICLE_BOMB_MAP = new HashMap();
    /**
     * 顺子车牌-倒序
     */
    public static final Map<String, String> VEHICLE_STRAIGHT_DESC_MAP = new HashMap();
    /**
     * 顺子车牌-正序
     */
    public static final Map<String, String> VEHICLE_STRAIGHT_ASC_MAP = new HashMap();
    /**
     * 敏感车牌集合(可以添加你认为的敏感车牌)
     */
    public static final List<String> VEHICLE_SENSITIVE_LIST = new ArrayList<>();

    static {
        VEHICLE_SENSITIVE_LIST.add("1992");
        VEHICLE_SENSITIVE_LIST.add("1994");
        VEHICLE_SENSITIVE_LIST.add("2000");
        VEHICLE_SENSITIVE_LIST.add("2003");

        VEHICLE_SENSITIVE_LIST.add("520");
        VEHICLE_SENSITIVE_LIST.add("521");
        VEHICLE_SENSITIVE_LIST.add("1314");

        VEHICLE_SENSITIVE_LIST.add("000");
        VEHICLE_SENSITIVE_LIST.add("0000");
        VEHICLE_SENSITIVE_LIST.add("111");
        VEHICLE_SENSITIVE_LIST.add("1111");
        VEHICLE_SENSITIVE_LIST.add("222");
        VEHICLE_SENSITIVE_LIST.add("2222");
        VEHICLE_SENSITIVE_LIST.add("333");
        VEHICLE_SENSITIVE_LIST.add("3333");
        VEHICLE_SENSITIVE_LIST.add("444");
        VEHICLE_SENSITIVE_LIST.add("4444");
        VEHICLE_SENSITIVE_LIST.add("555");
        VEHICLE_SENSITIVE_LIST.add("5555");
        VEHICLE_SENSITIVE_LIST.add("666");
        VEHICLE_SENSITIVE_LIST.add("6666");
        VEHICLE_SENSITIVE_LIST.add("777");
        VEHICLE_SENSITIVE_LIST.add("7777");
        VEHICLE_SENSITIVE_LIST.add("888");
        VEHICLE_SENSITIVE_LIST.add("8888");
        VEHICLE_SENSITIVE_LIST.add("999");
        VEHICLE_SENSITIVE_LIST.add("9999");

        VEHICLE_SENSITIVE_LIST.add("74110");
        VEHICLE_SENSITIVE_LIST.add("74120");
        VEHICLE_SENSITIVE_LIST.add("74119");
        VEHICLE_SENSITIVE_LIST.add("00544");
        VEHICLE_SENSITIVE_LIST.add("44944");
        VEHICLE_SENSITIVE_LIST.add("12580");

        VEHICLE_BOMB_MAP.put("VIP-A", "11111");
        VEHICLE_BOMB_MAP.put("VIP-B", "22222");
        VEHICLE_BOMB_MAP.put("VIP-C", "33333");
        VEHICLE_BOMB_MAP.put("VIP-D", "44444");
        VEHICLE_BOMB_MAP.put("VIP-E", "55555");
        VEHICLE_BOMB_MAP.put("VIP-F", "66666");
        VEHICLE_BOMB_MAP.put("VIP-G", "77777");
        VEHICLE_BOMB_MAP.put("VIP-H", "88888");
        VEHICLE_BOMB_MAP.put("VIP-W", "99999");
        VEHICLE_BOMB_MAP.put("VIP-J", "00000");

        VEHICLE_STRAIGHT_ASC_MAP.put("VIP-V", "01234");
        VEHICLE_STRAIGHT_ASC_MAP.put("VIP-K", "12345");
        VEHICLE_STRAIGHT_ASC_MAP.put("VIP-L", "23456");
        VEHICLE_STRAIGHT_ASC_MAP.put("VIP-M", "34567");
        VEHICLE_STRAIGHT_ASC_MAP.put("VIP-N", "45678");
        VEHICLE_STRAIGHT_ASC_MAP.put("VIP-X", "56789");

        VEHICLE_STRAIGHT_DESC_MAP.put("VIP-P", "98765");
        VEHICLE_STRAIGHT_DESC_MAP.put("VIP-Q", "87654");
        VEHICLE_STRAIGHT_DESC_MAP.put("VIP-R", "76543");
        VEHICLE_STRAIGHT_DESC_MAP.put("VIP-S", "65432");
        VEHICLE_STRAIGHT_DESC_MAP.put("VIP-T", "54321");
        VEHICLE_STRAIGHT_DESC_MAP.put("VIP-U", "43210");

        YU_AREA_MAP.put("郑州", "豫A·");
        YU_AREA_MAP.put("开封", "豫B·");
        YU_AREA_MAP.put("洛阳", "豫C·");
        YU_AREA_MAP.put("平顶山", "豫D·");
        YU_AREA_MAP.put("安阳", "豫E·");
        YU_AREA_MAP.put("鹤壁", "豫F·");
        YU_AREA_MAP.put("新乡", "豫G·");
        YU_AREA_MAP.put("焦作", "豫H·");
        YU_AREA_MAP.put("濮阳", "豫J·");
        YU_AREA_MAP.put("许昌", "豫K·");
        YU_AREA_MAP.put("漯河", "豫L·");
        YU_AREA_MAP.put("三门峡", "豫M·");
        YU_AREA_MAP.put("商丘", "豫N·");
        YU_AREA_MAP.put("周口", "豫P·");
        YU_AREA_MAP.put("驻马店", "豫Q·");
        YU_AREA_MAP.put("南阳", "豫R·");
        YU_AREA_MAP.put("信阳", "豫S·");
        YU_AREA_MAP.put("济源", "豫U·");

        SU_AREA_MAP.put("南京", "苏A·");
        SU_AREA_MAP.put("无锡", "苏B·");
        SU_AREA_MAP.put("徐州", "苏C·");
        SU_AREA_MAP.put("常州", "苏D·");
        SU_AREA_MAP.put("苏州", "苏E·");
        SU_AREA_MAP.put("南通", "苏F·");
        SU_AREA_MAP.put("连云港", "苏G·");
        SU_AREA_MAP.put("淮安", "苏H·");
        SU_AREA_MAP.put("盐城", "苏J·");
        SU_AREA_MAP.put("扬州", "苏K·");
        SU_AREA_MAP.put("镇江", "苏L·");
        SU_AREA_MAP.put("泰州", "苏M·");
        SU_AREA_MAP.put("宿迁", "苏N·");
    }
}
